﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DBQLTV;

namespace BUS
{
    public class CTThongKeSachTraTreBUS
    {
        CTThongKeSachTraTreDAO _CT = new CTThongKeSachTraTreDAO();
        public bool InsertCTThongKeSachTraTre(THONGKESACHTRATRE ThongKe, int MaCuonSach)
        {
            CUONSACH cs = new CuonSachBUS().GetCuonSachByKey(MaCuonSach);
            return _CT.InsertCTThongKeSachTraTre(ThongKe, cs);
        }
        public List<THONGKETRATRECT> GetCTThongKeTraTre(THONGKESACHTRATRE ThongKe)
        {
            return _CT.GetCTThongKeTraTre(ThongKe);
        }
    }
}
